<template>
	<view class="content">
		<image class="logo" src="/static/logo.png"></image>
		<view class="text-area">
			<text class="title">{{title}}</text>
		</view>
		<!-- <button size="mini" type="warn" @click="login">授权登录</button> -->
	</view>
</template>

<script>
	export default {
		data() {
			return {
				title: 'Hello 心灵恋舍'
			}
		},
		onLoad() {},
		// async onShow() {
		// 	if (typeof this.$scope.getTabBar === 'function' && this.$scope.getTabBar()) {
		// 		this.$scope.getTabBar().setData({
		// 			selected: 2
		// 		})
		// 	}
		// },
		methods: {

		}
	}
</script>

<style>
	.content {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
	}

	.logo {
		height: 200rpx;
		width: 200rpx;
		margin-top: 200rpx;
		margin-left: auto;
		margin-right: auto;
		margin-bottom: 50rpx;
	}

	.text-area {
		display: flex;
		justify-content: center;
	}

	.title {
		font-size: 36rpx;
		color: #8f8f94;
	}

	.login-btn {
		color: #000000;
		background-color: #ff0000;
		border-color: #ff0000
	}

	.is-hover-login-btn {
		color: rgba(255, 255, 255, 0.6);
		background-color: #179b16;
		border-color: #179b16;
	}
</style>